# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pyjokes
pkgver=0.6.0
pkgrel=1
pkgdesc="One line jokes for programmers (jokes as a service)"
url="https://pyjok.es/"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://pypi.python.org/packages/source/p/pyjokes/pyjokes-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/pyjokes-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="9622caffe060cbc498f9c6230969e4c239477a3fb59c6f1b9d3897ae1f2064b20e10accae5a74c35012f7024451dc3154e1e5039ef46fd8e13c6dc9c9f8622ae  pyjokes-0.6.0.tar.gz"
